package com.jy.adscm.operation.cg.service;

import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.operation.cg.bean.CgTaskDetail;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.security.utils.Token;

import java.util.List;

/**
 * <p>
 * 采购详情 服务类
 * </p>
 *
 * @author zyl
 * @since 2019-07-07
 */
public interface CgTaskDetailService extends IService<CgTaskDetail> {

    List<CgTaskDetail> selectByTid(Long tid);

    boolean updateCgTaskDetail(CgTaskDetail cgTaskDetail, Token token);

    boolean deleteCgTaskDetail(Integer id, Token token) throws AdscmSystemException;
}
